/**
 * 
 */
package org.tangram.application.config;

import java.util.LinkedHashMap;
import java.util.Map;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementMap;
import org.simpleframework.xml.Root;
import org.tangram.component.base.BaseExtensionConfig;

/**
 * @author han_feng
 * 
 */
@Root(name = "extension", strict = false)
public class ApplicationListenerConfig extends BaseExtensionConfig {

	@ElementMap(inline = true, entry = "listener", key = "id", attribute = true)
	private Map<String, String> listeners = new LinkedHashMap<String, String>();

	public ApplicationListenerConfig(@Attribute(name = "point") String point) {
		super(point);
	}

	public Map<String, String> getListeners() {
		return listeners;
	}

}
